//---------------------------------------------------------------------------------
#include "CMur.h"
//---------------------------------------------------------------------------------
static CMur *instance=0;
//---------------------------------------------------------------------------------
CMur* CMur::getInstance(void) {
	if(instance == 0) {
		instance=new CMur();
	}
	
	return instance;
}
//---------------------------------------------------------------------------------
void CMur::draw(QPainter *painter, int x, int y, int) {
	painter->drawImage(QPoint(x, y), image);
}
//---------------------------------------------------------------------------------
CMur::CMur(void) : CSprite() {
	image=QImage(":qt-soko/images/mur.png");
}
//---------------------------------------------------------------------------------